<link href="../css/Quantricss.css" rel="stylesheet" type="text/css">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<?php
    include ("../mysql.php");
    require_once ("function_quantri.php");
    
    if(isset($_POST['btnThem']))
    {
        $TenCL = $_POST['TenCL'];
        $ThuTu = $_POST['ThuTu'];
         
     ChungLoai_them($TenCL,$ThuTu);
        header("location:Sanpham_chungloai_quantri.php");
    }
?>
<form id="form1" name="form1" method="post" action="" enctype="multipart/form-data"> 
    <table width="550" border="1" align="center">
        <tr>
            <th height="39" colspan="2" align="center" bgcolor="#0000FF" scope="col">
                <span class="style1">Chủng loại </span>
        </tr>    
        <tr>
            <td width="148" height="36" align="center">TênCL</td>
            <td width="386" align="left"><label>
               <input type="text" name="TenCL" id="TenCL"/>
               </label></td>
         </tr>   
          <tr>
            <td width="148" height="36" align="center">Thứ tự</td>
            <td width="386" align="left"><label>
               <input type="text" name="ThuTu" id="ThuTu"/>
               </label></td>
         </tr>   
         <tr>
             <td colspan="2" align ="center">
                 <label>
                     <input type="submit" name="btnThem" id="btnThem" value="Thêm"/>
                 </label>
              </td>   
         </tr>    
    </table>
</form>
